<?php

class AdminRouter extends CBaseUrlRule {

	public $connectionID = 'db';

	public function createUrl($manager, $route, $params, $ampersand) {
		return str_replace('admin/', 'x8/', $route) . (!empty($params) ? '?' : '') . http_build_query($params, '', '&');
	}

	public function parseUrl($manager, $request, $pathInfo, $rawPathInfo) {
		return false;
	}

}
